# -*- coding: utf-8 -*-
#   文件说明
# @Time    ： 2025/11/11  14:26
# @Auther  ： 徐良
# File     :  __init__.py
# -*- coding: utf-8 -*-
"""
dbService 公共接口
"""

from dbService.config import DBConfig
from dbService.db_service import (
    get_model, get_record, get_records,
    fetch_one, fetch_all,
    insert, update, delete, execute,
    transaction
)
from .connection_manager import ConnectionManager

# 导出常用项
__all__ = [
    "DBConfig",
    "get_model", "get_record", "get_records",
    "fetch_one", "fetch_all",
    "insert", "update", "delete", "execute",
    "transaction",
    "ConnectionManager"
]